using Microsoft.ML;
using Microsoft.ML.AutoML;
using Microsoft.ML.Data;

namespace AutoMLExample
{
    public class TrainingResult
    {
		// Configuration
        public uint                       ExperimentTimeInSeconds       { get; set; }
        public ITransformer               Model                         { get; set; }
        public string                     Trainer                       { get; set; }
        public BinaryClassificationMetric Metric                        { get; set; }
		
		// Metrics
        public double                     Accuracy                      { get; set; }
        public double                     AreaUnderPrecisionRecallCurve { get; set; }
        public double                     AreaUnderRocCurve 			{ get; set; }
        public double                     F1Score                       { get; set; }
        public double                     PositiveRecall                { get; set; }
        public double                     NegativeRecall                { get; set; }
        public double                     PositivePrecision             { get; set; }
        public double                     NegativePrecision             { get; set; }
		
        public ConfusionMatrix            Matrix                        { get; set; }
    }
}
